//
//  NMPODeviceResultViewController.swift
//  NMPO
//
//  Created by PowerfullClean on 2023/10/31.
//

import UIKit

class NMPODeviceResultViewController: NMPOScanResultViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        nmpo_collectionView.register(NMPODeviceResultCell.classForCoder(), forCellWithReuseIdentifier: NMPODeviceResultCell.nmpo_viewToString)
    }
    

   override func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize {
        if indexPath.section == 1 {
            return CGSize(width: nmpo_SCREEN_WIDTH-40, height: 86)
        }
        return CGSize(width: nmpo_SCREEN_WIDTH-40, height: 212)
    }
}
